package io.wdb.modules.activity.wx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import io.wdb.modules.activity.wx.dao.MarketUserSubscribeDao;
import io.wdb.modules.activity.wx.entity.MarketUserSubscribeEntity;
import io.wdb.modules.activity.wx.service.MarketUserSubscribeService;

import java.util.List;
import java.util.Map;



@Service("marketUserSubscribeService")
public class MarketUserSubscribeServiceImpl implements MarketUserSubscribeService {
	@Autowired
	private MarketUserSubscribeDao marketUserSubscribeDao;
	
	@Override
	public MarketUserSubscribeEntity queryObject(Long id){
		return marketUserSubscribeDao.queryObject(id);
	}
	
	@Override
	public List<MarketUserSubscribeEntity> queryList(Map<String, Object> map){
		return marketUserSubscribeDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return marketUserSubscribeDao.queryTotal(map);
	}
	
	@Override
	public void save(MarketUserSubscribeEntity marketUserSubscribe){
		marketUserSubscribeDao.save(marketUserSubscribe);
	}
	
	@Override
	public void update(MarketUserSubscribeEntity marketUserSubscribe){
		marketUserSubscribeDao.update(marketUserSubscribe);
	}
	
	@Override
	public void delete(Long id){
		marketUserSubscribeDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		marketUserSubscribeDao.deleteBatch(ids);
	}
	
}
